<?php


namespace TbfDatabase\MysqlAST;


class StringNodeImpl implements Node,SelectExprList,TableReferenceList,OrderByList,Limit{
    /** @var string */
    protected $text;
    function __construct($text){
        $this->text = $text;
    }
    function GetText(){
        return $this->text;
    }
    function Copy(){
        return new StringNodeImpl($this->text);
    }
    function GetPreparedText(){
        $text = new PreparedText();
        $text->text = $this->text;
        return $text;
    }
}